# 作者: 郑驭泷
# 2025年03月17日12时11分51秒
# 2395042511@qq.com
# class xiaotianquan:
#    def bark(self):
#         self.weapon = "音波攻击"
# gou=xiaotianquan()
# gou.bark()
# print(gou.weapon)
from logging import exception
from threading import main_thread

# def use_yichang():
#     try:
#         num = int(input("请输入一个字"))
#         result = 8 / num
#         print(result)
#     except ValueError:
#         print("你妈的，让你输入数字")
#     except Exception as result:
#         print(result)
#
#
# use_yichang()
# def check_positive(num):
#     if num <= 0:
#         return False  # 提前终止函数
#     else:
#         print("数字是正数")
#         return True
#
#
# i = 1
# while check_positive(-1):
#     i += 1
#     break
# # print(i)
